import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'

import {
    Pagination,
    Dialog,
    Input,
    InputNumber,
    Button,
    ButtonGroup,
    Tooltip,
    Form,
    FormItem,
    Tag,
    Alert,
    Slider,
    Icon,
    Row,
    Col,
    Spinner,
    Image,
    CascaderPanel,
    Loading,
    MessageBox,
    Message,
  } from 'element-ui';
  
  Vue.use(Pagination);
  Vue.use(Dialog);
  Vue.use(Input);
  Vue.use(InputNumber);
  Vue.use(Button);
  Vue.use(ButtonGroup);
  Vue.use(Tooltip);
  Vue.use(Form);
  Vue.use(FormItem);
  Vue.use(Tag);
  Vue.use(Alert);
  Vue.use(Slider);
  Vue.use(Icon);
  Vue.use(Row);
  Vue.use(Col);
  Vue.use(Spinner);
  Vue.use(Image);
  Vue.use(CascaderPanel);
  
  Vue.use(Loading.directive);
  
  Vue.prototype.$loading = Loading.service;
  Vue.prototype.$msgbox = MessageBox;
  Vue.prototype.$confirm = MessageBox.confirm;
  Vue.prototype.$prompt = MessageBox.prompt;
  Vue.prototype.$message = Message;
